const getMenuData = () => {
  return [
    {
      name: '主页',
      key: 'home',
      isAuth: true,
      icon: 'zhandianjieru',
      path: '/home',
    },
    {
      name: '服务商管理',
      key: 'service',
      isAuth: true,
      icon: 'fuwushangguanli',
      path: '/service',
    },
    {
      name: '订单管理',
      key: 'order',
      isAuth: true,
      icon: 'gongdanxinxi',
      children: [
        {
          name: '订单列表',
          key: 'orderList',
          isAuth: true,
          path: '/order/list',
        },
        {
          name: '订单分析',
          key: 'orderAnalysis',
          isAuth: true,
          path: '/order/analysis',
        }
      ]
    },
    {
      name: '代理管理',
      key: 'proxy',
      isAuth: true,
      icon: 'yunweiguanli',
      path: '/proxy',
    },
    {
      name: '码商管理',
      key: 'code',
      isAuth: true,
      icon: 'shujiedian',
      path: '/code',
    },
    {
      name: '商户列表',
      key: 'merchant',
      isAuth: true,
      icon: 'qiyeguanli',
      path: '/merchant',
    },
    {
      name: '通道管理',
      key: 'channel',
      isAuth: true,
      icon: 'jianceduixiang',
      path: '/channel',
    },
    {
      name: '通道账户',
      key: 'account',
      isAuth: true,
      icon: 'jibenxinxi',
      path: '/account',
    },
  ];
};

export default getMenuData;
